package main

import (
	"fmt"
	"os"
)

func main() {

	arr := [3]int{1, 3, 4}
	test(&arr)
	fmt.Println("arr=", arr)

	slice := make([]int, 1, 3)
	slice1 := append(slice, 2, 3, 4)
	fmt.Println(slice1)
	_ = os.FileMode(0666)
}

func test(arr *[3]int) {
	arr[0] = 7
}
